// 空组件， 标明路径跳转
import BaseCom from './BaseCom'
//年度平均值测算
//import annualOutVal from './annualOutVal'
//import InsuranceCom from './Exinsurance/Insurance'
const annualOutVal = resolve => {
    require.ensure(['./annualOutVal'], () => {
        resolve(require('./annualOutVal'))
    })
}
//年度车辆数预算
//import annualCarNum from './annualCarNum'

//import InsuranceCom from './Exinsurance/Insurance'
const annualCarNum = resolve => {
    require.ensure(['./annualCarNum'], () => {
        resolve(require('./annualCarNum'))
    })
}
// 定义子模块路由
const annualRoutes = [{
    path: 'salePredict',
    component: BaseCom,
    children: [
        // 年度平均值测算
        {
            path: 'annualOutVal',
            component: annualOutVal
        },
        // 年度车辆数预测
        {
            path: 'annualCarNum',
            component: annualCarNum
        },
    ]
}]
export default annualRoutes